﻿using Furion;
using System.Reflection;

namespace LocalNas.Web.Entry
{
    public class SingleFilePublish : ISingleFilePublish
    {
        public Assembly[] IncludeAssemblies()
        {
            return Array.Empty<Assembly>();
        }

        public string[] IncludeAssemblyNames()
        {
            // 需要 Furion 框架扫描哪些程序集就写上去即可
            return new[]
            {
            "LocalNas.Application",
            "LocalNas.Core",
            "LocalNas.Web.Core",
            "Furion.Extras.ObjectMapper.Mapster"    // 解决 Mapster 单文件失效问题，v3.5.3+版本后无需配置
        };
        }
    }
}
